<?php 
$i=0;
echo "var geoPoints=new Array();\n";
foreach($Events as $event){
 echo	"geoPoints[$i] = ";
	echo "[";
	echo "'".$event['Event']['id']."',";
	echo "'".$event['Ecategory']['icon']."',";
	echo $event['Place']['lat'],",";
	echo $event['Place']['lng'];
	 echo	"];\n";
 $i++;
}
?>


